package com.weishu.core.service.impl;

import com.weishu.core.entity.SysRegion;
import com.weishu.core.mapper.SysRegionMapper;
import com.weishu.core.service.ISysRegionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 地区表 服务实现类
 * </p>
 *
 * @author zgx
 * @since 2021-10-19
 */
@Service
public class SysRegionServiceImpl extends ServiceImpl<SysRegionMapper, SysRegion> implements ISysRegionService {

    @Autowired
    private SysRegionMapper sysRegionMapper;

    @Override
    public List<SysRegion> getsheng() {
        return sysRegionMapper.getsheng();
    }

    @Override
    public List<SysRegion> getshi(Long pid) {
        return sysRegionMapper.getshi(pid);
    }

    @Override
    public List<SysRegion> getshengFlag() {
        return sysRegionMapper.getshengFlag();
    }
}
